package com.gupao.pattern.factory.simple;

public class Iphone extends AbstractPhone {

    {
        setName("苹果");
    }

    public void start() {
        System.out.println(getName()+":开机!");
    }

    public void shutdown() {
        System.out.println(getName()+":关机!");
    }

    public void call() {
        System.out.println(getName()+":打电话");
    }
}
